package com.molichuxing.gateway.bff.order.entity.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @Author: renzhengyu
 * @Description:
 * @Date: Created in 14:00 2019/8/30
 * @Modified By:
 **/
@Data
public class OrderScheduleRelationVo extends ResponseRootDto {
    private static final long serialVersionUID = 3343007750046896894L;
    @ApiModelProperty(value = "排期id")
    private Integer id;
    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    private Long orderCode;

    /**
     * 排期期数
     */
    @ApiModelProperty(value = "还款期数")
    private Integer periods;

    /**
     * 总还款期数
     */
    @ApiModelProperty(value = "总还款期数")
    private Integer totalPeriods;

    /**
     * 应付款金额（如果排期期数为1则包含保证金，否则不含保证金）
     */
    @ApiModelProperty(value = "还款金额")
    private BigDecimal payable;


    /**
     * 应付款日期
     */
    @ApiModelProperty(value = "应还款日")
    private LocalDate payableDate;

    /**
     * 车辆数
     */
    @ApiModelProperty(value = "车辆数")
    private Integer carCount;
}
